runtime.m.p (field)

134 uses

	runtime (current package)
		atomic_pointer.go#L24: 	buf := getg().m.p.ptr().wbBuf.get2()
		debuglog.go#L112: 	if gp != nil && gp.m != nil && gp.m.p != 0 {
		debuglog.go#L113: 		l.w.varint(int64(gp.m.p.ptr().id))
		malloc.go#L1501: 	if mp != nil && mp.p != 0 {
		malloc.go#L1502: 		persistent = &mp.p.ptr().palloc
		mbitmap.go#L574: 	buf := &getg().m.p.ptr().wbBuf
		mbitmap.go#L618: 	buf := &getg().m.p.ptr().wbBuf
		mbitmap.go#L644: 	buf := &getg().m.p.ptr().wbBuf
		mbitmap.go#L704: 	buf := &getg().m.p.ptr().wbBuf
		mcache.go#L128: 	pp := mp.p.ptr()
		mgc.go#L296: 	p := getg().m.p.ptr()
		mgc.go#L981: 			gcw := &getg().m.p.ptr().gcw
		mgc.go#L983: 			wbBufFlush1(getg().m.p.ptr())
		mgc.go#L1331: 		pp := gp.m.p.ptr() // P can't change with preemption disabled.
		mgcmark.go#L554: 	trackLimiterEvent := gp.m.p.ptr().limiterEvent.start(limiterEventMarkAssist, startTime)
		mgcmark.go#L567: 	gcw := &getg().m.p.ptr().gcw
		mgcmark.go#L599: 	pp := gp.m.p.ptr()
		mgcmark.go#L770: 	p := getg().m.p.ptr()
		mgcmark.go#L1446: 		gcw := &getg().m.p.ptr().gcw
		mgcmark.go#L1579: 	gcw := &getg().m.p.ptr().gcw
		mgcpacer.go#L710: 	if gp == nil || gp.m == nil || gp.m.p == 0 {
		mgcpacer.go#L713: 	myID := gp.m.p.ptr().id
		mgcscavenge.go#L780: 				pageTraceScav(getg().m.p.ptr(), 0, addr, uintptr(npages))
		mgcsweep.go#L663: 		getg().m.p.ptr().trace.reclaimed += uintptr(nfreed) * s.elemsize
		mheap.go#L1089: 	pp := getg().m.p.ptr()
		mheap.go#L1114: 	pp := getg().m.p.ptr()
		mheap.go#L1146: 	pp := getg().m.p.ptr()
		mheap.go#L1189: 	pp := gp.m.p.ptr()
		mheap.go#L1551: 		pageTraceFree(getg().m.p.ptr(), 0, s.base(), s.npages)
		mheap.go#L1583: 	pageTraceFree(getg().m.p.ptr(), 0, s.base(), s.npages)
		mheap.go#L1959: 			gcw := &mp.p.ptr().gcw
		mprof.go#L1007: 	if getg().m.p.ptr() == nil {
		mstats.go#L769: 	if pp := getg().m.p.ptr(); pp != nil {
		mstats.go#L798: 	if pp := getg().m.p.ptr(); pp != nil {
		mwbbuf.go#L174: 		getg().m.p.ptr().wbBuf.discard()
		mwbbuf.go#L181: 		wbBufFlush1(getg().m.p.ptr())
		panic.go#L353: 	pp := mp.p.ptr()
		panic.go#L404: 	pp := mp.p.ptr()
		pinner.go#L36: 		if pp := mp.p.ptr(); pp != nil {
		pinner.go#L71: 	if pp := mp.p.ptr(); pp != nil && pp.pinnerCache == nil {
		preempt.go#L287: 	return mp.locks == 0 && mp.mallocing == 0 && mp.preemptoff == "" && mp.p.ptr().status == _Prunning
		preempt.go#L343: 	return (gp.preempt || gp.m.p != 0 && gp.m.p.ptr().preempt) && readgstatus(gp)&^_Gscan == _Grunning
		preempt.go#L373: 	if mp.p == 0 || !canPreemptM(mp) {
		proc.go#L424: 	pp := mp.p.ptr()
		proc.go#L476: 	pp := mp.p.ptr()
		proc.go#L906: 	runqput(mp.p.ptr(), gp, next)
		proc.go#L1368: 	gp.m.p.ptr().status = _Pgcstop // Pgcstop is only diagnostic.
		proc.go#L1762: 	pp := getg().m.p.ptr()
		proc.go#L1853: 	p := getg().m.p.ptr()
		proc.go#L1898: 	if gp.m.p == 0 {
		proc.go#L1946: 	if pp == gp.m.p.ptr() {
		proc.go#L2526: 	if gp.m.p != 0 {
		proc.go#L2773: 	if gp.m.p != 0 {
		proc.go#L2866: 		mp.p.ptr().schedtick++
		proc.go#L2899: 	pp := mp.p.ptr()
		proc.go#L3171: 		if mp.p != 0 {
		proc.go#L3241: 	p := getg().m.p.ptr()
		proc.go#L3261: 	pp := getg().m.p.ptr()
		proc.go#L3522: 	pp := getg().m.p.ptr()
		proc.go#L3572: 	pp := mp.p.ptr()
		proc.go#L3681: 		if pp != getg().m.p.ptr() || int(pp.deletedTimers.Load()) <= int(pp.numTimers.Load()/4) {
		proc.go#L3706: 	if pp == getg().m.p.ptr() && int(pp.deletedTimers.Load()) > len(pp.timers)/4 {
		proc.go#L3842: 	pp := gp.m.p.ptr()
		proc.go#L3863: 	pp := mp.p.ptr()
		proc.go#L4037: 	if gp.m.p.ptr().runSafePointFn != 0 {
		proc.go#L4043: 	gp.m.syscalltick = gp.m.p.ptr().syscalltick
		proc.go#L4044: 	pp := gp.m.p.ptr()
		proc.go#L4047: 	gp.m.p = 0
		proc.go#L4103: 	gp.m.syscalltick = gp.m.p.ptr().syscalltick
		proc.go#L4104: 	gp.m.p.ptr().syscalltick++
		proc.go#L4140: 		traceGoSysBlock(getg().m.p.ptr())
		proc.go#L4180: 			if oldp != gp.m.p.ptr() || gp.m.syscalltick != gp.m.p.ptr().syscalltick {
		proc.go#L4185: 		gp.m.p.ptr().syscalltick++
		proc.go#L4235: 	gp.m.p.ptr().syscalltick++
		proc.go#L4286: 	if gp.m.syscalltick != gp.m.p.ptr().syscalltick {
		proc.go#L4293: 				traceGoSysBlock(gp.m.p.ptr())
		proc.go#L4298: 		gp.m.p.ptr().syscalltick++
		proc.go#L4483: 		pp := getg().m.p.ptr()
		proc.go#L4501: 	pp := mp.p.ptr()
		proc.go#L5005: 			pp = gp.m.p.ptr()
		proc.go#L5109: 		plocal := getg().m.p.ptr()
		proc.go#L5160: 			phold := mp.p.ptr()
		proc.go#L5161: 			mp.p.set(pp)
		proc.go#L5166: 			mp.p.set(phold)
		proc.go#L5246: 	if gp.m.p != 0 && gp.m.p.ptr().id < nprocs {
		proc.go#L5248: 		gp.m.p.ptr().status = _Prunning
		proc.go#L5249: 		gp.m.p.ptr().mcache.prepareForSweep()
		proc.go#L5256: 		if gp.m.p != 0 {
		proc.go#L5262: 				traceProcStop(gp.m.p.ptr())
		proc.go#L5264: 			gp.m.p.ptr().m = 0
		proc.go#L5266: 		gp.m.p = 0
		proc.go#L5298: 		if gp.m.p.ptr() == pp {
		proc.go#L5350: 	if gp.m.p != 0 {
		proc.go#L5361: 	gp.m.p.set(pp)
		proc.go#L5370: 	if gp.m.p == 0 {
		proc.go#L5373: 	pp := gp.m.p.ptr()
		proc.go#L5375: 		print("releasep: m=", gp.m, " m->p=", gp.m.p.ptr(), " p->m=", hex(pp.m), " p->status=", pp.status, "\n")
		proc.go#L5379: 		traceProcStop(gp.m.p.ptr())
		proc.go#L5381: 	gp.m.p = 0
		proc.go#L5844: 		pp := mp.p.ptr()
		proc.go#L6572: 	return int(mp.p.ptr().id)
		proc.go#L6618: 	if p := getg().m.p.ptr(); !runqempty(p) {
		runtime2.go#L548: 	p             puintptr // attached p for executing go code (nil if not executing go code)
		stack.go#L372: 		if stackNoCache != 0 || thisg.m.p == 0 || thisg.m.preemptoff != "" {
		stack.go#L381: 			c := thisg.m.p.ptr().mcache
		stack.go#L475: 		if stackNoCache != 0 || gp.m.p == 0 || gp.m.preemptoff != "" {
		stack.go#L480: 			c := gp.m.p.ptr().mcache
		stack.go#L871: 	gcController.addScannableStack(getg().m.p.ptr(), int64(newsize)-int64(old.hi-old.lo))
		stack.go#L1058: 		if thisg.m.p == 0 && thisg.m.locks == 0 {
		time.go#L277: 	pp := getg().m.p.ptr()
		time.go#L506: 		pp := getg().m.p.ptr()
		time.go#L843: 		ppcur := getg().m.p.ptr()
		time.go#L880: 		gp.racectx = gp.m.p.ptr().timerRaceCtx
		trace.go#L334: 			gp.trace.lastP = getg().m.p
		trace.go#L353: 			gp.trace.lastP = getg().m.p
		trace.go#L1033: 	if p := mp.p.ptr(); p != nil {
		trace.go#L1491: 	oldp := mp.p
		trace.go#L1492: 	mp.p.set(pp)
		trace.go#L1494: 	mp.p = oldp
		trace.go#L1534: 	pp := getg().m.p.ptr()
		trace.go#L1546: 	pp := getg().m.p.ptr()
		trace.go#L1556: 	pp := getg().m.p.ptr()
		trace.go#L1576: 	newg.trace.lastP = getg().m.p
		trace.go#L1584: 	pp := gp.m.p
		trace.go#L1602: 	gp.trace.lastP = gp.m.p
		trace.go#L1608: 	gp.trace.lastP = gp.m.p
		trace.go#L1619: 	pp := getg().m.p
		trace.go#L1673: 	gp.trace.lastP = gp.m.p
		trace.go#L1681: 	oldp := mp.p
		trace.go#L1682: 	mp.p.set(pp)
		trace.go#L1684: 	mp.p = oldp